171a0e1a446a6fd6168af1f0f683ed7b9748f6d5,xwiki-annotations/xwiki-annotation-core/src/test/java/org/xwiki/annotation/renderer/AnnotationXHTMLRendererTest.java,AnnotationXHTMLRendererTest,getAnnotatedHTML,#,222

Before Change



        // run transformations
        TransformationManager transformationManager = getComponentManager().lookup(TransformationManager.class);
        transformationManager.performTransformations(xdom, syntaxFactory.createSyntaxFromIdString(docFactory
            .getDocument(docName).getSyntax()));

        AnnotationPrintRenderer renderer =
            getComponentManager().lookup(AnnotationPrintRenderer.class, ANNOTATIONS_RENDERER_HINT);

After Change



        // run transformations
        TransformationManager transformationManager = getComponentManager().lookup(TransformationManager.class);
        transformationManager.performTransformations(xdom, new TransformationContext(xdom,
            syntaxFactory.createSyntaxFromIdString(docFactory.getDocument(docName).getSyntax())));

        AnnotationPrintRenderer renderer =
            getComponentManager().lookup(AnnotationPrintRenderer.class, ANNOTATIONS_RENDERER_HINT);